<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>LCOV - lcov.info.p - core/contracts/protocol/pool/src/core/contracts/protocol/pool/Pool.sol - functions</title>
  <link rel="stylesheet" type="text/css" href="../../../../../../../../../gcov.css">
</head>

<body>

          <table width="100%" border=0 cellspacing=0 cellpadding=0>
            <tr><td class="title">LCOV - code coverage report</td></tr>
            <tr><td class="ruler"><img src="../../../../../../../../../glass.png" width=3 height=3 alt=""></td></tr>

            <tr>
              <td width="100%">
                <table cellpadding=1 border=0 width="100%">
          <tr>
            <td width="10%" class="headerItem">Current view:</td>
            <td width="10%" class="headerValue"><a href="../../../../../../../../../index.html">top level</a> - <a href="index.html">core/contracts/protocol/pool/src/core/contracts/protocol/pool</a> - Pool.sol<span style="font-size: 80%;"> (<a href="Pool.sol.gcov.html">source</a> / functions)</span></td>
            <td width="5%"></td>
            <td width="5%"></td>
            <td width="5%" class="headerCovTableHead">Coverage</td>
            <td width="5%" class="headerCovTableHead" title="Covered + Uncovered code">Total</td>
            <td width="5%" class="headerCovTableHead" title="Exercised code only">Hit</td>
          </tr>
          <tr>
            <td class="headerItem">Test:</td>
            <td class="headerValue">lcov.info.p</td>
            <td></td>
            <td class="headerItem">Lines:</td>
            <td class="headerCovTableEntryHi">99.1&nbsp;%</td>
            <td class="headerCovTableEntry">108</td>
            <td class="headerCovTableEntry">107</td>
          </tr>
          <tr>
            <td class="headerItem">Test Date:</td>
            <td class="headerValue">2024-04-09 14:12:28</td>
            <td></td>
            <td class="headerItem">Functions:</td>
            <td class="headerCovTableEntryHi">98.4&nbsp;%</td>
            <td class="headerCovTableEntry">61</td>
            <td class="headerCovTableEntry">60</td>
          </tr>
          <tr>
            <td></td>
            <td></td>
            <td></td>
            <td class="headerItem">Branches:</td>
            <td class="headerCovTableEntryHi">-</td>
            <td class="headerCovTableEntry">0</td>
            <td class="headerCovTableEntry">0</td>
          </tr>
                  <tr><td><img src="../../../../../../../../../glass.png" width=3 height=3 alt=""></td></tr>
                </table>
              </td>
            </tr>

            <tr><td class="ruler"><img src="../../../../../../../../../glass.png" width=3 height=3 alt=""></td></tr>
          </table>

          <center>
          <table cellpadding=1 cellspacing=1 border=0>
            <tr><td><br></td></tr>
            <tr>
              <td class="tableHead">Function Name <span  title="Click to sort table by function name" class="tableHeadSort"><img src="../../../../../../../../../glass.png" width=10 height=14 alt="Sort by function name" title="Click to sort table by function name" border=0></span></td>
              
              <td class="tableHead">Hit count <span  title="Click to sort table by function hit count" class="tableHeadSort"><a href="Pool.sol.func-c.html"><img src="../../../../../../../../../updown.png" width=10 height=14 alt="Sort by function hit count" title="Click to sort table by function hit count" border=0></a></span></td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L590">Pool.BRIDGE_PROTOCOL_FEE</a></td>
              
              <td class="coverFnHi">25</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L595">Pool.FLASHLOAN_PREMIUM_TOTAL</a></td>
              
              <td class="coverFnHi">1218</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L600">Pool.FLASHLOAN_PREMIUM_TO_PROTOCOL</a></td>
              
              <td class="coverFnHi">1215</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L605">Pool.MAX_NUMBER_RESERVES</a></td>
              
              <td class="coverFnHi">3</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L585">Pool.MAX_STABLE_RATE_BORROW_SIZE_PERCENT</a></td>
              
              <td class="coverFnHi">3</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L80">Pool._onlyBridge</a></td>
              
              <td class="coverFnHi">26</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L73">Pool._onlyPoolAdmin</a></td>
              
              <td class="coverFnHi">2000</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L66">Pool._onlyPoolConfigurator</a></td>
              
              <td class="coverFnHi">80486</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L123">Pool.backUnbacked</a></td>
              
              <td class="coverFnHi">9</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L211">Pool.borrow</a></td>
              
              <td class="coverFnHi">9113</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L724">Pool.configureEModeCategory</a></td>
              
              <td class="coverFnHi">2027</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L793">Pool.deposit</a></td>
              
              <td class="coverFnHi">17</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L666">Pool.dropReserve</a></td>
              
              <td class="coverFnHi">2007</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L610">Pool.finalizeTransfer</a></td>
              
              <td class="coverFnHi">1036</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L391">Pool.flashLoan</a></td>
              
              <td class="coverFnHi">10</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L430">Pool.flashLoanSimple</a></td>
              
              <td class="coverFnHi">10</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L818">Pool.getBorrowLogic</a></td>
              
              <td class="coverFnHi">2</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L823">Pool.getBridgeLogic</a></td>
              
              <td class="coverFnHi">2</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L526">Pool.getConfiguration</a></td>
              
              <td class="coverFnHi">41450</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L734">Pool.getEModeCategoryData</a></td>
              
              <td class="coverFnHi">46</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L828">Pool.getEModeLogic</a></td>
              
              <td class="coverFnHi">2</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L813">Pool.getFlashLoanLogic</a></td>
              
              <td class="coverFnHi">2</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L769">Pool.getLiquidationGracePeriod</a></td>
              
              <td class="coverFnHi">5512</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L833">Pool.getLiquidationLogic</a></td>
              
              <td class="coverFnHi">2</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L838">Pool.getPoolLogic</a></td>
              
              <td class="coverFnHi">2</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L580">Pool.getReserveAddressById</a></td>
              
              <td class="coverFnHi">1</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L462">Pool.getReserveData</a></td>
              
              <td class="coverFnHi">22204</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L455">Pool.getReserveDataExtended</a></td>
              
              <td class="coverFnHi">6</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L540">Pool.getReserveNormalizedIncome</a></td>
              
              <td class="coverFnHi">31404</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L547">Pool.getReserveNormalizedVariableDebt</a></td>
              
              <td class="coverFnHi">25218</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L575">Pool.getReservesCount</a></td>
              
              <td class="coverFnHi">1</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L554">Pool.getReservesList</a></td>
              
              <td class="coverFnHi">6043</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L843">Pool.getSupplyLogic</a></td>
              
              <td class="coverFnHi">2</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L494">Pool.getUserAccountData</a></td>
              
              <td class="coverFnHi">3013</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L533">Pool.getUserConfiguration</a></td>
              
              <td class="coverFnHi">6030</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L757">Pool.getUserEMode</a></td>
              
              <td class="coverFnHi">3012</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L487">Pool.getVirtualUnderlyingBalance</a></td>
              
              <td class="coverFnHi">6030</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L639">Pool.initReserve</a></td>
              
              <td class="coverFnHi">6882</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L364">Pool.liquidationCall</a></td>
              
              <td class="coverFnHi">11291</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L450">Pool.mintToTreasury</a></td>
              
              <td class="coverFnHi">4</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L105">Pool.mintUnbacked</a></td>
              
              <td class="coverFnHi">17</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L341">Pool.rebalanceStableBorrowRate</a></td>
              
              <td class="coverFnHi">4</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L241">Pool.repay</a></td>
              
              <td class="coverFnHi">22</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L298">Pool.repayWithATokens</a></td>
              
              <td class="coverFnHi">1005</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L263">Pool.repayWithPermit</a></td>
              
              <td class="coverFnHi">3000</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L783">Pool.rescueTokens</a></td>
              
              <td class="coverFnHi">2000</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L762">Pool.resetIsolationModeTotalDebt</a></td>
              
              <td class="coverFnHi">3751</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L698">Pool.setConfiguration</a></td>
              
              <td class="coverFnHi">38058</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L774">Pool.setLiquidationGracePeriod</a></td>
              
              <td class="coverFnHi">13028</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L671">Pool.setReserveInterestRateStrategyAddress</a></td>
              
              <td class="coverFnHi">6006</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L741">Pool.setUserEMode</a></td>
              
              <td class="coverFnHi">17</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L346">Pool.setUserUseReserveAsCollateral</a></td>
              
              <td class="coverFnHi">42</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L133">Pool.supply</a></td>
              
              <td class="coverFnHi">9558</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L153">Pool.supplyWithPermit</a></td>
              
              <td class="coverFnHi">3000</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L319">Pool.swapBorrowRateMode</a></td>
              
              <td class="coverFnHi">7</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L330">Pool.swapToVariable</a></td>
              
              <td class="coverFnLo">0</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L682">Pool.syncIndexesState</a></td>
              
              <td class="coverFnHi">1751</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L690">Pool.syncRatesState</a></td>
              
              <td class="coverFnHi">1751</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L708">Pool.updateBridgeProtocolFee</a></td>
              
              <td class="coverFnHi">2013</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L715">Pool.updateFlashloanPremiums</a></td>
              
              <td class="coverFnHi">3212</td>
              
              
            </tr>
            <tr>
              <td class="coverFn"><a href="Pool.sol.gcov.html#L188">Pool.withdraw</a></td>
              
              <td class="coverFnHi">43</td>
              
              
            </tr>
          </table>
          <br>
          </center>
          <table width="100%" border=0 cellspacing=0 cellpadding=0>
            <tr><td class="ruler"><img src="../../../../../../../../../glass.png" width=3 height=3 alt=""></td></tr>
            <tr><td class="versionInfo">Generated by: <a href="https://github.com//linux-test-project/lcov" target="_parent">LCOV version 2.0-1</a></td></tr>
          </table>
          <br>

</body>
</html>
